This file will show you how to change your inventory, life meter, and the pieces of Triforce you have on The Legend of Zelda with a Hex Editor.
What you need:
1.A Hex Editor, like Hex Workshop.
2.NESticle, A Legend of Zelda .sta
file and rom.
A few notes. The format of the .sta files for this game really confused the hell out of me. Everything was fine until I tried hacking a file with 3 characters in the roster. The way the data is stored for all three is really strange. So the way I recommend doing this procedure is by putting your name for your guy in the FIRST slot of the name registration screen, and leave the other two blank. Then start your game as usual. Save a .sta file when you're in the acual game, then it should all go along smoothly. Sorry about this.
Ok, now to get down to business.
Goto offset 00002650. The
data is located in this line and the next two below it. The locations of
you inventory, life meter, and Triforce are stored like this:
The way this works is that there
aren't individual bytes representing each item. All of them are represented
by 01, with the exception of the 2nd potion, White and Magic swords, the
Silver Arrow, the Red Candle, Triforce, and the Red Ring. I'll go into
those farther down. Another thing to note is that items you can have multiple
numbers of, such as bombs, keys, and Rupees can be represented by numbers
up to their maximum limit of 255, which is FF.
The way the swords, ring, ect work is that while 01 stands for the crappy wooden looking sword you first have, 02 and 03 stand for the White and Magic swords respectivly. Just change the byte on 00002657 to what you prefer. The Silver Arrow, 2nd Potion, Red Candle, and Red Ring are represented by 02.
The Triforce is stored like this: The byte for your triforce number can be anywhere from 00 to FF. Different numbers give you different numbers and combinations of the way the Triforce pieces are arranged in the triangle on the item screen, with FF being the full Triforce. Also note that the Flute won't make the tornado warp unless you have at least one piece of Triforce.
As for the Boomerangs and the Letter, they way they work is like this. When you have 01 in the normal Boomerang's slot and the Magic Boomerang's empty, you'll have the normal one. But if you put 01 into the Magic Boomerang's slot, you'll have it, regardless of whether you still have 01 in the normal Boomerang's slot.
If the Letter is in your inventory and you have either the 1st or 2nd Potion, the potions will override the letter until they've been used up, then showing the Letter in the place where they were at.
Ok, now finally about the Life Meter. The range of bytes for your life are between 33 and FF, with 33 being 4 hearts and FF being 16.
A few instances of weird shit can happen if you change a byte to something out of it's range, like changing the sword byte to 04 or the Potion to 05. Try messing around with some crap, you might get some cool results.
That's if for now. I might try to figure out how to do all this to all three characters in the roster if you have them, but I doubt it. Anyway, as always questions or comments are welcome. Email me at sliverx@hotmail.com
And please don't ask me about where
to find roms. I don't know what they are.